﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/SalesOneWeb.Master" CodeBehind="ManageCodeTypeCreate.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.UserManagement.ManageCodeType" %>

<%--<script runat="server">

    protected void SaveButton_Click(object sender, EventArgs e)
    {

    }
</script>--%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script language="javascript" type="text/javascript">

    window.onload = function() {

        var msg = document.getElementById('ctl00_MasterMsg');
        if (msg && msg.innerHTML != '')
            showMessageBlock();
    }
        </script>



<%--<link href="../Style%20Sheets/salesOne_txtstyle.css" rel="stylesheet" type="text/css" />--%>
<link href="../StyleSheets/salesOne_txtstyle.css" rel="stylesheet" type="text/css" />


 <%--<script type="text/javascript" language="javascript">


    /* function hideLabel() {

         var label = String(document.getElementById("ctl00_ContentPlaceHolder1_lblMsg").value);
         label = "";
     }*/

</script>
--%>






    <style type="text/css">
        .detailstable
        {
            width: 324px;
        }
        .style4
        {
            width: 81px;
        }
    </style>







    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

        <table class="detailstable">
           
            <tr>
                <td colspan="2">
                    <asp:Label ID="FunctionLabel" runat="server" Font-Bold="True" 
                        Font-Size="Small" CssClass="lbl"></asp:Label>
                </td>
            </tr>
           
            <tr>
                <td colspan="2" class="pix8">
                    </td>
            </tr>
            <tr>
                <td class="style5">
                    Code*:</td>
                <td>
                    <asp:TextBox ID="CodeTextBox" runat="server" CssClass="txtbox"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="codeRequiredFieldValidator" runat="server" 
                        ControlToValidate="CodeTextBox" Text="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style5">
                    Description*:</td>
                <td>
                    <asp:TextBox ID="DescriptionTextBox" runat="server" CssClass="txtbox"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="descriptionRequiredFieldValidator" 
                        runat="server" ControlToValidate="DescriptionTextBox" Text="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                        <%--OnClientClick="return dateValidate();"lblMsg id = ctl00_ContentPlaceHolder1_lblMsg--%>
                        
                   
                        <table cellpadding="0" cellspacing="0" class="style1">
                            <tr>
                                <td class="pix8" >
                                    </td>
                                <td>
                                    </td>
                            </tr>
                            <tr>
                                <td class="style4">
                
                    <asp:Button ID="SaveButton" runat="server" onclick="SaveButton_Click" OnClientClick="validationSummery();" 
                        Text="Save" CssClass="btn" Width="76px" />
                            
                                </td>
                                <td>
                        
                    <asp:Button ID="CancelButto2" runat="server" onclick="Button2_Click" 
                        Text="Cancel" CausesValidation="False" CssClass="btn" Width="76px" />
                                </td>
                            </tr>
                        </table>
                        
                   
                </td>
            </tr>
            <tr>
                <td class="style5" colspan="2">
                
                    &nbsp;</td>
            </tr>
            </table>
    </asp:Content>